﻿@model IEnumerable<AppConfigurationMVC.Models.AppConfiguration>

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th></th>
        <th></th>
        <th>
            ConfigID
        </th>
        <th>
            ConfigKey
        </th>
        <th>
            ConfigValue
        </th>
        <th>
            Comment
        </th>        
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ })
        </td>
        <td>
            @Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ConfigID)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ConfigKey)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ConfigValue)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Comment)
        </td>
    </tr>
}

</table>
